#ifndef GSMCOMMAND_H
#define GSMCOMMAND_H

#include <QObject>
#include <QStringList>
#include <QPair>
#include "tools/constant.h"



typedef QPair<int,QString> flag_args;

typedef QList<flag_args> Args;



class GSMCommand
{
public:
    GSMCommand(const QString &m_s,
                        const Args &args,
               const QString &_date);
    GSMCommand(const GSMCommand &obj):
        m_phone_num(obj.m_phone_num),
        cmds(obj.cmds),
        date(obj.date){

    }

    GSMCommand& operator =(const GSMCommand& o) {
        m_phone_num = o.m_phone_num;
        cmds = o.cmds;
        date = o.date;
        return *this;
    }

    QString m_phone_num;//手机号码
    Args cmds;
    QString date;






private:
    //NO_COPY_ASSIGN(GSMCommand);

};

#endif // GSMCOMMAND_H
